﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EyFramework.Sys.Core;
using Insurance.Core.Dao;
using Insurance.Entity;
using Insurance.Entity.Dto;
using SqlSugar;

namespace Insurance.Core.Service
{
    /// <summary>
    ///  INSU_VOUCHER表的服务实现类
    /// </summary>
    public class InsuVoucherService : BaseHisService, IInsuVoucherService
    {
        protected readonly IInsuVoucherDao _InsuVoucherDao;

        public InsuVoucherService(IInsuVoucherDao insuVoucherDao)
        {
            _InsuVoucherDao = insuVoucherDao;
        }

        public List<InsuVoucherDto> QueryVoucher(InsuVoucherParam insuVoucherParam)
        {
            return _InsuVoucherDao.QueryVoucher(insuVoucherParam);
        }
    }
}